//
//  ReportWithChartView.h
//  BabyHelper
//
//  Created by  thomas on 11-2-13.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NTChartView.h"
#import "BabyActivityEntry.h"
#import "Dao.h"
#import "ConstantStrings.h"

@interface ReportWithChartView : UIViewController {
	UISegmentedControl *categoryControl;
	NTChartView *countChartView;
	NTChartView *amountChartView;

	NSMutableArray *XAxisData;
	NSMutableArray *countEatMumYAxisData;
	NSMutableArray *amountEatMumYAxisData;
	NSMutableArray *countEatMilkYAxisData;
	NSMutableArray *amountEatMilkYAxisData;
	NSMutableArray *countDrinkWaterYAxisData;
	NSMutableArray *amountDrinkWaterYAxisData;
	NSMutableArray *countPeeYAxisData;
	NSMutableArray *countShitYAxisData;
}
@property (nonatomic, retain) IBOutlet UISegmentedControl *categoryControl;
@property (nonatomic, retain) IBOutlet NTChartView *countChartView;
@property (nonatomic, retain) IBOutlet NTChartView *amountChartView;
@property (nonatomic, retain) NSMutableArray *XAxisData;
@property (nonatomic, retain) NSMutableArray *countEatMumYAxisData;
@property (nonatomic, retain) NSMutableArray *amountEatMumYAxisData;
@property (nonatomic, retain) NSMutableArray *countEatMilkYAxisData;
@property (nonatomic, retain) NSMutableArray *amountEatMilkYAxisData;
@property (nonatomic, retain) NSMutableArray *countDrinkWaterYAxisData;
@property (nonatomic, retain) NSMutableArray *amountDrinkWaterYAxisData;
@property (nonatomic, retain) NSMutableArray *countPeeYAxisData;
@property (nonatomic, retain) NSMutableArray *countShitYAxisData;
-(IBAction)toggleControls:(id)sender;
@end
